import { request } from '../request';

export function list({ pid, nurse_type }: any) {
    return request.get<any>(`/nurse_goods/nurseGoods/loadTreeChildren?pid=${pid}&nurse_type=${nurse_type}`, {}, {
        useErrMsg: true
    });
}

export function addNurseUserBillInvoice(data: any) {
    return request.post<any>(`/nurse_user_bill/nurseUserBill/addNurseUserBillInvoice`, data, {
        useErrMsg: true
    });
}



export async function listNurseUserBillInvoiceByMainId({ pageNo, pageSize, userId }: any) {
    return request.get<any>(`/nurse_user_bill/nurseUserBill/listNurseUserBillInvoiceByMainId?pageNo=${pageNo}&pageSize=${pageSize}&userId=${userId}`, {}, {
        useErrMsg: true
    });
}







